import VueRouter from "vue-router";
import Vue from "vue";

import SkyIndex from "@/components/SkyIndex";
import GeneralList from "@/components/pages/GeneralList";
import GeneralForm from "@/components/pages/GeneralForm";
import GeneralCard from "@/components/pages/GeneralCard";
import Index from "@/components/Index";
import test from "@/components/test";
import testCopy from "@/components/testCopy";
import GeneralTreeList from "@/components/pages/GeneralTreeList";

Vue.use(VueRouter)

const router = new VueRouter({
    routes: [
        {path: '/', component: SkyIndex},
        {path: '/Index', component: SkyIndex},
        {path: '/test', component: test},
        {path: '/testCopy', component: testCopy},
        {path: '/List', component: GeneralList},
        {path: '/Index1', component: Index},
        {path: '/Form', component: GeneralForm},
        {path: '/Card', component: GeneralCard},
        {path: '/TreeList', component: GeneralTreeList},
    ]
})

export default router;
